* {
    margin: 0;
    padding: 0;
}
body,
html {
    width: 100%;
    height: 100%;
    position: relative;
    min-width: 1300px;
}
a {
    text-decoration: none;
    color: black;
}

/* 搜索小图标 */
#search_icon svg {
    margin-top: 7px;
    width: 25px;
    height: 25px;
    margin-bottom: 3px;
}

/* 导航栏大小和样式 */
#nav {
    width: 100%;
    height: 72px;
    background-color: #ffffff;
    box-shadow: 0 5px 4px 2px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    z-index: 20;
    top: -1px;
    margin-bottom: 8px;

}
/*menu 设置菜单样式*/
#menu {
    padding: 6px 0;
    position: relative;
    width: 1200px;
    height: 60px;
    background-color: rgb(255, 255, 255);
    margin: 0 auto;
}

/*设置logo大小与位置*/
#logo {
    width: 60px !important;
    height: 60px;
    position: absolute;
    left: -60px;
    top: 0px;
}

/* 导航栏内盒子浮动 */
#menu > div {
    background-color: #ffffff;
    position: relative;
    left: 0;
    height: 60px;
    line-height: 60px;
    text-align: center;
    /* border: 2px solid black; */
    float: left;
}
#menu .jump {
    font-size: 18px;
    width: 200px;
}
#menu .function {
    width: 270px;
}

/* 搜索框 */
.function input {
    width: 260px;
    height: 40px;
    border: none;
    outline: 0ch;
    border-radius: 10px;
    padding-left: 10px;
    position: relative;
    background-color: #f5f7fa;
    margin-top: 10px;
    z-index: 1;
}

/* 搜索小图标 */
#search_icon {
    position: absolute;
    width: 25px;
    height: 25px;
    left: 230px;
    top: 11px;
    z-index: 10;
}

/* 热搜 */
.header_hot {
    position: absolute;
    top: 0px;
    left: 120px;
    z-index: 10;
}

.hot_info {
    color: #9199a1;
    margin: 5px;
}

.hot_info:hover {
    color: #ec1500;
}

/* 用户操作盒子 */
.consumer {
    margin-right: 50px;
    float: right;
    padding-top: 10px;
}

/* 用户头像 */
.consumer_portrait {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    position: absolute;
    left: 100px;
    top: 0;
}
.consumer_portrait img {
    width: 60px;
    height: 60px;
    border-radius: 30px;
}
